package com.lagou.edu.fegin.fallback;

import com.lagou.edu.common.status.ResultStatus;
import com.lagou.edu.fegin.IAuthCodeServiceClient;
import com.lagou.edu.vo.ResultVO;
import org.springframework.stereotype.Component;

/**
 * @author 赵虎
 * @date 2021/2/22 11:03 上午
 */
@Component
public class AuthCodeServiceClientFallback implements IAuthCodeServiceClient {
    @Override
    public ResultVO validateAuthCode(String email, String code) {
        return ResultVO.fail(ResultStatus.ERROR_SYSTEM, "验证码验证出错");
    }
}
